package com.dx.wlmq.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;

/**
 * @ClassName orSupplier
 * @Description TODO:
 * @Author 12994
 * @Date 2024/10/20 20:31
 * @Version 1.0
 **/
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class OrSupplier {
    /*
    supplier_id         bigint auto_increment comment '主键' primary key,
    supplier_name       varchar(100) null comment '供应商名称',
    supplier_person     varchar(100) null comment '联系人',
    supplier_phone      varchar(100) null comment '联系方式',
    supplier_address    varchar(200) null comment '供应商地址',
    supplier_user_id    bigint       null comment '绑定用户',
    supplier_bank       varchar(100) null comment '开户行',
    supplier_banknum    varchar(100) null comment '银行账号',
    supplier_bankperson varchar(100) null comment '收款人',
    supplier_remark     varchar(200) null comment '备注',
    supplier_version    varchar(100) null comment '版本号',
    create_time         datetime     null comment '创建时间',
    update_time         datetime     null comment '更新时间'
     */
    private Long supplierId;
    private String supplierName;
    private String supplierPerson;
    private String supplierPhone;
    private String supplierAddress;
    private Long supplierUserId;
    private String supplierBank;
    private String supplierBanknum;
    private String supplierBankperson;
    private String supplierRemark;
    private String supplierVersion;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
